﻿@model MVCTask.Models.Task
@{
    ViewBag.Title = "Details";
}
<div data-role="page">
    <div data-role="header">
        <h1>@Html.DisplayFor(model => model.Description)</h1>
         @Html.ActionLink("Edit", "Index", new { },new {@class ="ui-btn-right", data_iconpos="notext", data_icon="home", data_direction="reverse"})
    </div>
    <div data-role="content">
        <h2>
            Details</h2>
        <p>@Html.DisplayFor(model => model.Details)</p>
        <h3>
            Category</h3>
        <p>@Html.DisplayFor(model => model.Category.Description)</p>
        <h3>Status</h3>
        <p>@Html.DisplayFor(model => model.Status.Description)</p>
        @Html.ActionLink("Edit", "Edit", new { id = Model.ID },new {data_role="button", data_inline="true", data_icon="gear"})
    </div>
    <div data-role="footer">
        <h1>- MVCTask -</h1>
    </div>
</div>
